﻿package com.gengine.utils
{
    import flash.net.*;

    public class BrowerUtil extends Object
    {

        public function BrowerUtil()
        {
            return;
        }// end function

        public static function getUrl(param1:String, param2:String = "_blank") : void
        {
            if (param1 != null && param1 != "")
            {
                navigateToURL(new URLRequest(param1), param2);
            }
            return;
        }// end function

        public static function reload() : void
        {
            navigateToURL(new URLRequest("javascript:location.reload();"), "_self");
            return;
        }// end function

        public static function callJsStr(param1:String) : void
        {
            navigateToURL(new URLRequest(param1), "_self");
            return;
        }// end function

    }
}
